package org.datascooter.test.zero;

import java.util.Date;

import org.datascooter.inface.ILongData;

public class Vehicle implements ILongData {

	private Long id;
	private String model;
	private Manufacturer manufacturer;
	private Date issued;
	private Boolean sold = false;
	private Double price;

	public Vehicle() {
	}

	public Vehicle(String model) {
		this.model = model;
	}

	public Vehicle(String model, Manufacturer manufacturer, Date issued, Double price) {
		this.model = model;
		this.manufacturer = manufacturer;
		this.issued = issued;
		this.price = price;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public Manufacturer getManufacturer() {
		return manufacturer;
	}

	public void setManufacturer(Manufacturer manufacturer) {
		this.manufacturer = manufacturer;
	}

	public Date getIssued() {
		return issued;
	}

	public void setIssued(Date issued) {
		this.issued = issued;
	}

	public Boolean getSold() {
		return sold;
	}

	public void setSold(Boolean sold) {
		this.sold = sold;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}
}
